package com.shycloud.mido.member.pattern;

/** 
 * @Description: TODO
 * @author baiqiang.
 * @date 2021年7月14日 上午10:57:48 
 * @ClassName: Context
 *  
 */
public class StrategyContext {
	
	private ISubjectStrategy subjectStrategy;

	public StrategyContext(ISubjectStrategy subjectStrategy) {
		this.subjectStrategy = subjectStrategy;
	}

	
	public void assist(SubjectPayload subject) {
		subjectStrategy.execute(subject);
	}

}
